<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>会员中心 -<?php echo $cfg_webname; ?></title>
<!--公共样式-->
<link rel="stylesheet" type="text/css" href="/revision/iconfont/iconfont.css" />
<link href="/revision/css/login/login.css" rel="stylesheet" />
<!--页面css-->
<link rel="stylesheet" type="text/css" href="/revision/css/base/reset.css" />
<link rel="stylesheet" type="text/css" href="/revision/css/base/public_v6.css?v20170904" />
<link rel="stylesheet" type="text/css" href="/revision/css/user/user_v2.css" />
<!--head内js-->
<script src="/revision/js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function CheckLogin(){
	  var taget_obj = document.getElementById('_userlogin');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
	function CheckLogin1(){
	  var taget_obj = document.getElementById('_userlogin1');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
-->
</script>
</head>
<body>
<!--低版本提示-->
<!--[if lte IE 9]><style type="text/css">*{ margin: 0; padding: 0;}.topTip{width: 100%;position:fixed; left:0;z-index:99;height: 40px;background: #808080;opacity: 0.5;filter:alpha(opacity=50);    top:0;text-align: center;color: #fff;font: 16px "微软雅黑";line-height: 40px;}</style><div class="topTip">您当前浏览器版本过低，建议使用谷歌或火狐浏览器</div><![endif]-->
<!--公共头-->
<!--公用悬浮头部/搜索页头部-->
<?php pasterTempletDiy("default/headuser.htm"); ?>
<script src="/revision/js/header/search.v2.js?20170901"></script>
<div class="bt-body">
  <div class="user-body-left gradient-ver-og">
    <?php include(DEDEMEMBER."/templets/left.php"); ?>
  </div>
  <div class="user-body-right p-vip">
    <p class="notVip">我的身份： <span style="color: #ff8a00;"><?php echo $cfg_ml->GetStavip($dsql); ?></span> <a target="_blank" href="zonghuan.php" class="voucher"><?php echo $cfg_webname; ?>优惠券兑换</a></p>
    <div class="vip-info">
      <div class="info-head gradient-hor-og"><span style="width: 20%;text-align:center;">会员类型</span><span style="width: 60%;text-align:center;">到期时间</span><span style="width: 20%;text-align:center;">操作</span></div>
      <ul class="info-body">
        <!--个人VIP正在使用-->
        <li>
          <div class="vip-type-wrap"><span class="vip-type">vip会员</span></div>
          <?php echo $cfg_ml->GetStatime($dsql); ?><a href="buy.php" target="_blank" class="pay-money gradient-hor-og graHover"><?php echo $cfg_ml->GetStaanniu($dsql); ?></a></li>
        <!--个人VIP未使用-->
		
		<!--个人VIP正在使用-->
        <li>
          <div class="vip-type-wrap"><span class="vip-type">认证设计师</span></div>
           <?php echo $renzheng; ?>
		</li>
        <!--个人VIP未使用-->
		
      </ul>
    </div>
	
	
	
    <div class="notVip-cot">
      <p class="viptishi"></p>
      <img class="huiyuantubiao" src="/revision/img/mascot_sad.png" alt="尚未开通包图王VIP会员" /> <a id="kaitonganniu" href="buy.php" target="_blank" class="open-vip gradient-hor-og graHover">开通VIP会员</a>
      <!--<h3>会员特权</h3>-->
      <ul class="advantages clearfix">
        <li> <i></i>
          <p>无限下载</p>
        </li>
        <li> <i></i>
          <p>个人商用</p>
        </li>
        <li> <i></i>
          <p>无限收藏</p>
        </li>
        <li> <i></i>
          <p>身份标识</p>
        </li>
      </ul>
    </div>
    <div class="invite-friends">
      <div class="invite-left">
        <p>邀请你的同事/设计师</p>
        <span>复制链接发送给同事</span> </div>
      <p class="invite-url">邀请小伙伴加入<?php echo $cfg_webname; ?>： <span id="invite-url-cot"><?php echo $cfg_basehost; ?></span></p>
      <a href="javascript:;" id="invite-copy-url" class="copy-url" data-clipboard-action="copy" data-clipboard-target="#invite-url-cot">复制链接</a> </div>
    <script src="/revision/plugins/clipboard.min.js"></script>
    <script>
    var clipboard = new Clipboard('.copy-url');
    clipboard.on('success', function(e) {
		alert('复制成功');
    });
    </script>
  </div>
</div>
<div class="user-win" style="display: none;">
  <div class="win-table">
    <div class="win-table-cell"></div>
  </div>
</div>
<script type="text/javascript" src="/revision/js/user/user.js" ></script>
<?php pasterTempletDiy("default/footer.htm"); ?>
</body>
</html>